package com.ruoyi.production.mapper.pesticide;


import com.ruoyi.production.domain.pesticide.PesticidePurchaseApply;

import java.util.List;

/**
 * 农药购买申请Mapper接口
 *
 * @author testlove
 * @date 2021-07-11
 */
public interface PesticidePurchaseApplyMapper
{
    /**
     * 查询农药购买申请
     *
     * @param pesticidePurchaseApplyId 农药购买申请ID
     * @return 农药购买申请
     */
    public PesticidePurchaseApply selectPesticidePurchaseApplyById(Long pesticidePurchaseApplyId);

    /**
     * 查询农药购买申请列表
     *
     * @param pesticidePurchaseApply 农药购买申请
     * @return 农药购买申请集合
     */
    public List<PesticidePurchaseApply> selectPesticidePurchaseApplyList(PesticidePurchaseApply pesticidePurchaseApply);

    /**
     * 新增农药购买申请
     *
     * @param pesticidePurchaseApply 农药购买申请
     * @return 结果
     */
    public int insertPesticidePurchaseApply(PesticidePurchaseApply pesticidePurchaseApply);

    /**
     * 修改农药购买申请
     *
     * @param pesticidePurchaseApply 农药购买申请
     * @return 结果
     */
    public int updatePesticidePurchaseApply(PesticidePurchaseApply pesticidePurchaseApply);

    /**
     * 删除农药购买申请
     *
     * @param pesticidePurchaseApplyId 农药购买申请ID
     * @return 结果
     */
    public int deletePesticidePurchaseApplyById(Long pesticidePurchaseApplyId);

    /**
     * 批量删除农药购买申请
     *
     * @param pesticidePurchaseApplyIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePesticidePurchaseApplyByIds(Long[] pesticidePurchaseApplyIds);
}
